package com.sihan.framework.etm.dto;

import com.sihan.framework.etm.common.util.excel.ExcelImport;
import lombok.Data;

@Data
public class DeviceExcelDTO {

    //行数
    private int rowNum;
    /**
     * required = true 必填验证
     * unique = true 字段唯一效验  多字段可进行联合唯一性验证
     */
    @ExcelImport(value = "编码", required = true, unique = true)
    private String communicationCode;
    @ExcelImport(value = "IMEI", required = true, unique = true)
    private String imeiCode;
    @ExcelImport(value = "A相", unique = true)
    private String hitchACode;
    @ExcelImport(value = "B相", unique = true)
    private String hitchBCode;
    @ExcelImport(value = "C相", unique = true)
    private String hitchCCode;
    @ExcelImport(value = "D相", unique = true)
    private String hitchDCode;
    @ExcelImport(value = "单位", required = true, unique = true)
    private String orgId;
    @ExcelImport(value = "生产厂家", required = true, unique = true)
    private String manufactorId;
    @ExcelImport(value = "类型", required = true, unique = true)
    private String typeId;

    /**
     * 原始数据
     */
    private String rowData;
    /**
     * 错误提示
     */
    private String rowTips;

}
